<!DOCTYPE html>
<html lang="en">
<head>
    <title>京伦内容管理系统</title>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="__PUBLIC__/bootstrap/css/bootstrap.min.css" />
    <load href="__PUBLIC__/bootstrap/js/jquery.min.js" />
    <load href="__PUBLIC__/bootstrap/js/bootstrap.min.js" />

</head>
<body>

<!-- header -->
<include file="Public:header" />



<div class="row">
    <!-- left -->
    <include file="User:left" />

    <div class="col-md-8" style="padding-top: 70px;">
       
            <ol class="breadcrumb">
                <li><a href="#">Home</a></li>
                <li><a href="#">System</a></li>
                <li class="active">{$pagetitle}</li>
            </ol>
        

        <div class="actions clearfix">
            <div class="pull-left">
                <a href="{:U('Auth/accessAdd')}"><button type="button" class="btn  btn-primary">添加权限</button></a>
                <a href="{:U('Auth/groupList')}"><button type="button" class="btn  btn-primary">角色管理</button></a>
            </div>
        </div>

        <div>
            <div id="content">


                <!-- Tab panes -->
                <div class="tab-content" style="margin-top:20px;">
                        <form class="form-horizontal" action="__ACTION__" method='post'>
                            <div class="form-group">
                                <label for="groupName" class="col-sm-2 control-label">角色名称:</label>
                                <div class="col-sm-5">
                                    <input type="text" class="form-control" value="{$data['title']}" name="title" id="groupName" />
                                </div>
                                <label class="col-sm-2 control-label"></label>
                            </div>

                            <div class="form-group">
                                <label for="describe" class="col-sm-2 control-label">角色描述:</label>
                                <div class="col-sm-5">
                                    <input type="text" class="form-control" value="{$data['describe']}" name="describe" id="describe" />
                                </div>
                                <label class="col-sm-2 control-label"></label>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">是否启用:</label>
                                <div class="btn-group col-sm-5" data-toggle="buttons">
                                    <label class="btn btn-primary">
                                        <input type="radio"  name="status" <if condition="$data['status'] eq 1"> checked="checked"</if> value="1" />启用
                                    </label>

                                    <label class="btn btn-danger">
                                        <input type="radio"  name="status" <if condition="$data['status'] eq 0"> checked="checked"</if> value="0" />禁用
                                    </label>
                                </div>
                                <label class="col-sm-2 control-label"></label>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label"></label>
                                <div class="col-sm-5">
                                    <input type="hidden" name="id" value="{$data['id']}" />
                                    <button type="submit" class="btn btn-success btn-add">编辑</button>

                                </div>

                            </div>

                        </form>

                </div>
            </div>
        </div>

    </div>
</div>





</body>
</html>
